package example

import (
	"gitee.com/tietang/terrace-go/v2/base"
	"gitee.com/tietang/terrace-go/v2/base/starter/idbx"
	"gitee.com/tietang/terrace-go/v2/base/starter/iiris"
	"gitee.com/tietang/terrace-go/v2/base/starter/ilogrus"
	"gitee.com/tietang/terrace-go/v2/base/starter/ivalidator"
	_ "gitee.com/tietang/terrace-go/v2/example/order/api"
	_ "gitee.com/tietang/terrace-go/v2/example/order/domain"
	_ "gitee.com/tietang/terrace-go/v2/example/order/domain/exts"
	_ "gitee.com/tietang/terrace-go/v2/example/order/service"
	_ "gitee.com/tietang/terrace-go/v2/example/order/service/exts"
)

func init() {
	base.Register(&base.PropsStarter{})
	base.Register(&ilogrus.LogrusStarter{})
	base.Register(&base.PprofStarter{})
	base.Register(&idbx.DbxDatabaseStarter{})
	base.Register(&ivalidator.ValidatorStarter{})
	base.Register(&iiris.IrisServerStarter{})
	//boot.Register(&igin.GinServerStarter{})
	base.Register(&base.WebApiStarter{})
	base.Register(&base.HookStarter{})
}
